package com.fr.report.script;

import com.fr.base.ColumnRow;
import java.util.HashMap;

public class CharSetNameSpace
  implements NameSpace
{
  public static final String NEWCHAR = "$$_NEWCHAR";
  public static final String ORIGINALCHAR = "$$_ORIGINALCHAR";
  private HashMap charMap = new HashMap();

  public CharSetNameSpace(String paramString1, String paramString2)
  {
    this.charMap.put("$$_NEWCHAR", paramString1);
    this.charMap.put("$$_ORIGINALCHAR", paramString2);
  }

  public Object getCellElementAttribute(ColumnRow paramColumnRow, Object paramObject, Calculator paramCalculator)
  {
    return null;
  }

  public Function getMethod(Object paramObject, Calculator paramCalculator)
  {
    return null;
  }

  public Object getVariable(Object paramObject, Calculator paramCalculator)
  {
    return this.charMap.get(paramObject);
  }
}